﻿<Page x:Class="SkyShell.SyncModeSelection"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="352" d:DesignWidth="539"
	Title="SyncModeSelection" DataContext="{Binding Source={StaticResource Locator}, Path=Sync}">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="128*" />
            <RowDefinition Height="128*" />
        </Grid.RowDefinitions>
        <Button  Name="button1" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" BorderThickness="0" Style="{DynamicResource ButtonStyleSelection}" Command="{Binding Path=Merge}">
            <Grid>
            	<Grid.RowDefinitions>
            		<RowDefinition Height="Auto" MinHeight="0"/>
            		<RowDefinition/>
            	</Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="0,5" Name="textBlock1" Text="Merged folders" VerticalAlignment="Center" FontSize="24" Height="31.923" Width="162.433" />
                <TextBlock Grid.Column="1" TextWrapping="Wrap" FontSize="16" Grid.Row="1" Margin="0,0,8,0"><Run Language="en-ca" Text="Use this option if you want to merge the content of the folder you want to sync with the already existing folder in SkyDrive. This is best for syncing the same folder from device to device."/></TextBlock>
                <Image HorizontalAlignment="Center" Margin="0" Name="image1" Stretch="None" VerticalAlignment="Center" Source="/SkyShell;component/Images/merged.png" Grid.RowSpan="2" />
            </Grid>
        </Button>
        <Button  Name="button2" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Grid.Row="1" BorderThickness="0" Style="{DynamicResource ButtonStyleSelection}" Command="{Binding Path=SideBySide}">
            <Grid Background="White">
            	<Grid.RowDefinitions>
            		<RowDefinition Height="Auto"/>
            		<RowDefinition/>
            	</Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="0,5"  Text="Side by side" VerticalAlignment="Center" FontSize="24" Height="31.923" Width="126.797" />
                <TextBlock Grid.Column="1" Margin="0,0,8,0" TextWrapping="Wrap" FontSize="16" Grid.Row="1"><Run Language="en-ca" Text="Use this option if you want to maintain folders with the same name side by side. In the next screen you can choose an alternative name for the folder."/></TextBlock>
                <Image HorizontalAlignment="Center" Margin="0" Name="image2" Stretch="None" VerticalAlignment="Center" Source="/SkyShell;component/Images/sidebyside.png" Height="76.807" Width="75.527" Grid.RowSpan="2" />
            </Grid>
        </Button>
    </Grid>
</Page>
